home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / raytr / r3vcube.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  720 b   |  38 lines

  1.  
  2. // JavaScript wrapper for r3vcube.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_VCUBE_H = 1;
  7. include("real/raytr/r3frobj.js")
  8. include("oops/r3vector.js")
  9.  
  10.  
  11. var R3CLID_VCUBE = 450;
  12.  
  13.  
  14.  
  15.  
  16. R3VCUBEA_P = 450500;
  17. function SetR3VCUBEA_P(value) {
  18.   R3Set(this.r3obj, R3VCUBEA_P, value, R3TID_VECTOR, 0); 
  19. }
  20.  
  21. function GetR3VCUBEA_P() {
  22.   return R3Get(this.r3obj, R3VCUBEA_P, R3TID_VECTOR, 0); 
  23. }
  24.  
  25.  
  26.  
  27. function r3Vcube () { 
  28.    this.base = r3God;
  29.    if(arguments.length) {
  30.       this.base(R3CLID_VCUBE, arguments);
  31.    }
  32.    // Attributes
  33.    this.GetP=GetR3VCUBEA_P;
  34.    this.SetP=SetR3VCUBEA_P;
  35. }
  36.  
  37. r3Vcube.prototype=new r3Frobject;
  38. // r3vcube.h_H